{% extends "base_generic.html" %}

{% block title %}
  <title>Book List</title>
{% endblock %}

{% block content %}
  <h1>Book List</h1>
  {% if book_list %}
    <ul>
      {% for book in book_list %}
        <li>
          <a href="{{book.get_absolute_url}}">《{{book.title}}》</a>&nbsp;&nbsp;{{book.author}}
        </li>
      {% endfor %}
    </ul>
  {% else %}

  {% endif %}
{% endblock %}
